package cc.rengu.redp.bizimpl.igas.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author 刘玉亮.LL
 * @since 2021-06-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("T_P_TXN_CFG")
@ApiModel(value = "PTxnCfg对象", description = "")
public class PTxnCfg implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "内部交易码")
    @TableField("TXN_NUM")
    private String txnNum;

    @ApiModelProperty(value = "业务细分")
    @TableField("BIZ_TYPE")
    private String bizType;

    @ApiModelProperty(value = "交易分组")
    @TableField("TXN_GROUP")
    private String txnGroup;

    @ApiModelProperty(value = "业务产品代码")
    @TableField("BIZ_PROD_CODE")
    private String bizProdCode;

    @ApiModelProperty(value = "交易处理服务类名")
    @TableField("SERVICE_NAME")
    private String serviceName;

    @ApiModelProperty(value = "交易超时时间")
    @TableField("TXN_TIMEOUT")
    private Integer txnTimeout;

    @ApiModelProperty(value = "超时交易处理码")
    @TableField("EXCP_TXN_NUM")
    private String excpTxnNum;

    @ApiModelProperty(value = "超时服务处理方式")
    @TableField("EXCP_HANDLE_FLAG")
    private String excpHandleFlag;

    @ApiModelProperty(value = "超时处理服务类名")
    @TableField("EXCP_SERVICE_NAME")
    private String excpServiceName;

    @ApiModelProperty(value = "存储转发间隔类型")
    @TableField("SAF_GAP_TYPE")
    private String safGapType;

    @ApiModelProperty(value = "超时重试次数")
    @TableField("REPEAT_NUM")
    private Integer repeatNum;

    @ApiModelProperty(value = "超时重试时间间隔")
    @TableField("REPEAT_TIME")
    private Integer repeatTime;

    @ApiModelProperty(value = "交易支持标志")
    @TableField("SUPPORT_FLAG")
    private String supportFlag;

    @ApiModelProperty(value = "交易支持开始时间")
    @TableField("SUPPORT_BEGIN_TIME")
    private String supportBeginTime;

    @ApiModelProperty(value = "交易支持截止时间")
    @TableField("SUPPORT_END_TIME")
    private String supportEndTime;

    @ApiModelProperty(value = "流水表登记标识")
    @TableField("TXN_REGISTER_FLAG")
    private String txnRegisterFlag;

    @ApiModelProperty(value = "原始报文登记标识")
    @TableField("MSG_REGISTER_FLAG")
    private String msgRegisterFlag;

    @ApiModelProperty(value = "验签标志")
    @TableField("SIGN_FLAG")
    private String signFlag;

    @ApiModelProperty(value = "转加密标志")
    @TableField("PIN_FLAG")
    private String pinFlag;

    @ApiModelProperty(value = "交易描述")
    @TableField("TXN_NAME")
    private String txnName;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private String createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField("UPDATE_TIME")
    private String updateTime;

    @ApiModelProperty(value = "备用字段1")
    @TableField("REMARK1")
    private String remark1;

    @ApiModelProperty(value = "备用字段2")
    @TableField("REMARK2")
    private String remark2;

    @ApiModelProperty(value = "是否选中（0-否,1-是）")
    @TableField(exist = false)
    private String checked;

    @ApiModelProperty(value = "操作类型：新增、修改、删除、审核等")
    @TableField(exist = false)
    private String optFlag;

}
